package com.chonor.mall.mapper;

import com.chonor.mall.model.FlashPromotionProduct;
import com.chonor.mall.model.FlashPromotionProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FlashPromotionProductMapper {
    long countByExample(FlashPromotionProductExample example);

    int deleteByExample(FlashPromotionProductExample example);

    int deleteByPrimaryKey(Long id);

    int insert(FlashPromotionProduct record);

    int insertSelective(FlashPromotionProduct record);

    List<FlashPromotionProduct> selectByExample(FlashPromotionProductExample example);

    FlashPromotionProduct selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") FlashPromotionProduct record, @Param("example") FlashPromotionProductExample example);

    int updateByExample(@Param("record") FlashPromotionProduct record, @Param("example") FlashPromotionProductExample example);

    int updateByPrimaryKeySelective(FlashPromotionProduct record);

    int updateByPrimaryKey(FlashPromotionProduct record);
}